<script setup lang="ts">
import { PropType } from 'vue'
defineProps({
  list: {
    type: Array as PropType<string[]>,
    required: true
  }
})
</script>
<script lang="ts">
export default {
  name: 'XtxBread'
}
</script>
<template>
  <div>
    <template v-for="(item, index) in list" :key="index">
      <span>{{ item }}</span>
      <span v-if="index !== list.length - 1">></span>
    </template>
  </div>
</template>
<style></style>
